package com.alien.smartmusicplayer.textproject;

import android.app.KeyguardManager;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.view.View;
import android.view.Menu;
import android.view.MenuItem;

import java.util.Timer;
import java.util.TimerTask;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        Log.d("alien", "activity onCreate");
//
        Intent intent = new Intent(this,LockScreenService.class);
        startService(intent);
    }

    @Override
    protected void onDestroy() {
        Log.d("alien","LockScreenService:mainactivity onDestroy");
        super.onDestroy();
    }
}
